 <ul class="nav nav-tabs" >
    <li <if condition="ACTION_NAME eq 'index'">class="active"</if>><a href="{:U("index",array("catid"=>$cate[id]))}"    >{$cate.name}</a></li>
<!--    <li <if condition="ACTION_NAME eq 'shenhe'">class="active"</if>><a href="{:U("shenhe",array("catid"=>$cate[id]))}"   >待审核文章</a></li>
    -->
    
    
     <li <if condition="ACTION_NAME eq 'add'">class="active"</if>><a href="{:U("add",array("catid"=>$cate[id]))}"   >添加文章</a></li>
     
      <if condition="$edit">
     <li class="active"><a href="{:U("add",array("catid"=>$cate[id]))}"   >编辑文章</a></li>
     
     
    </if>
    
   
  </ul>